package com.mswork.mes.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mswork.common.annotation.Excel;
import com.mswork.common.core.domain.BaseEntity;

/**
 * 项目管理对象 tb_project
 * 
 * @author manshu
 * @date 2025-03-03
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID（自增） */
    private Integer projectId;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 客户id */
    @Excel(name = "客户id")
    private Long companyId;

    /** 项目状态，0-未完成,1-已完成 */
    @Excel(name = "项目状态，0-未完成,1-已完成")
    private Long projectStatus;

    /** 0无效,1有效 */
    private Long status;

    private String companyPerson;

    /** 货物信息 */
    private List<ProjectCargo> projectCargoList;

    public void setProjectId(Integer projectId) 
    {
        this.projectId = projectId;
    }

    public Integer getProjectId() 
    {
        return projectId;
    }
    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setProjectStatus(Long projectStatus) 
    {
        this.projectStatus = projectStatus;
    }

    public Long getProjectStatus() 
    {
        return projectStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public List<ProjectCargo> getProjectCargoList()
    {
        return projectCargoList;
    }

    public void setProjectCargoList(List<ProjectCargo> projectCargoList)
    {
        this.projectCargoList = projectCargoList;
    }

    public String getCompanyPerson() {
        return companyPerson;
    }

    public void setCompanyPerson(String companyPerson) {
        this.companyPerson = companyPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projectId", getProjectId())
            .append("projectName", getProjectName())
            .append("companyId", getCompanyId())
            .append("projectStatus", getProjectStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("status", getStatus())
            .append("projectCargoList", getProjectCargoList())
            .toString();
    }
}
